安裝 Kaspersky Security for Windows Server 的指令範例

本章節提供安裝 Kaspersky Security for Windows Server 所使用的指令範例。

在執行 32 位元版本的 Microsoft Windows 的受防護裝置上,執行分發套件中帶有 x86 尾碼的檔案。在執行 64 位元版本的 Microsoft Windows 的受防護裝置上,執行分發套件中帶有 x64 尾碼的檔案。

有關使用 Windows Installer 標準指令和命令列選項的詳細資訊,提供在 Microsoft 提供的文件中。

從 setup.exe 檔案安裝 Kaspersky Security for Windows Server 的範例

若要在無需與使用者互動的情況下使用建議的安裝設定安裝 Kaspersky Security for Windows Server,請執行以下指令:

\server\setup.exe /s /p EULA=1 /p PRIVACYPOLICY=1

您可以使用以下設定安裝 Kaspersky Security for Windows Server:

要執行此操作,請執行以下指令:

\server\setup.exe /p ADDLOCAL=Oas /p RUNRTP=0 /p ADDMSEXCLUSION=0

若要在無需與使用者互動的情況下使用 Kaspersky Endpoint Agent 安裝 Kaspersky Security for Windows Server,請執行以下指令:

\server\setup.exe /s /p EULA=1 /p PRIVACYPOLICY=1 /p ADDLOCAL=Soyuz /p KEA_EULA=1

可以在此指令中使用以下可選參數:

/p KEA_INSTALLDIR=”<安裝資料夾的路徑>"

指定自訂 Kaspersky Endpoint Agent 安裝資料夾的路徑。

/p KEA_UNLOCK_PASSWORD=<密碼>

設定密碼防護以限制使用者對 Kaspersky Endpoint Agent 的存取(修改、修復、移除)。

/p KEA_PPL=<1|0>

啟用 (1) 或停用 (0) AM-PPL 技術(輕度惡意軟體受防護處理程序)防護 Kaspersky Endpoint Agent 處理程序。有關 AM-PPL 技術的更多詳細資訊,請參閱 Microsoft 知識庫。

用於安裝的指令範例:執行 .msi 檔案

若要在無需與使用者互動的情況下使用建議的安裝設定安裝 Kaspersky Security for Windows Server,請執行以下指令:

msiexec /i ks4ws.msi /qn EULA=1 PRIVACYPOLICY=1

若要使用建議的安裝設定安裝 Kaspersky Security for Windows Server 並顯示安裝介面,請執行以下指令:

msiexec /i ks4ws.msi /qf EULA=1 PRIVACYPOLICY=1

若要以 C:\0000000A.key 的金鑰檔案安裝 Kaspersky Security for Windows Server:

msiexec /i ks4ws.msi LICENSEKEYPATH=C:\0000000A.key /qn EULA=1 PRIVACYPOLICY=1

若要安裝 Kaspersky Security for Windows Server 並初步掃描活動處理程序與本機磁碟機的開機磁區,請執行以下指令:

msiexec /i ks4ws.msi PRESCAN=1 /qn EULA=1 PRIVACYPOLICY=1

要將 Kaspersky Security for Windows Server 安裝在安裝資料夾 C:\WSEE 中,請執行以下指令:

msiexec /i ks4ws.msi INSTALLDIR=C:\WSEE /qn EULA=1 PRIVACYPOLICY=1

若要安裝 Kaspersky Security for Windows Server 並將名稱為 ks4ws.log 的安裝記錄檔案儲存在儲存 Kaspersky Security for Windows Server msi 檔案的資料夾中,請執行以下指令:

msiexec /i ks4ws.msi /l*v ks4ws.log /qn EULA=1 PRIVACYPOLICY=1

若要安裝Kaspersky Security for Windows Server 主控台,請執行以下指令:

msiexec /i ks4wstools.msi /qn EULA=1

要安裝適用於 64 位元 Microsoft Outlook 郵件用戶端的 Microsoft Outlook 載入項,請執行以下指令:

msiexec /i ksmail_x64.msi /qn EULA=1

要安裝適用於 32 位元 Microsoft Outlook 郵件用戶端的 Microsoft Outlook 載入項,請執行以下指令:

msiexec /i ksmail_x86.msi /qn EULA=1

若要使用 C:\0000000A.key 檔案的金鑰安裝 Kaspersky Security for Windows Server,並根據 C:\settings.xml 設定檔中的設定配置 Kaspersky Security for Windows Server,請執行以下指令:

msiexec /i ks4ws.msi LICENSEKEYPATH=C:\0000000A.key CONFIGPATH=C:\settings.xml /qn EULA=1 PRIVACYPOLICY=1

若要在 Kaspersky Security for Windows Server 受密碼防護的情況下安裝應用程式修補程式,請執行以下指令:

msiexec /p "<msp 檔案名及路徑>" UNLOCK_PASSWORD=<密碼>

頁面頂部